Convert a list to a matrix

#How to convert a list to a matrix
mat <- do.call("rbind", myList)
mat <- matrix(unlist(lis), ncol=2, byrow=TRUE)
Homepage
Comments

Hide Comments